package others;

public class Man {

	private Person pp = new Person() {
		@Override
		public String getName() {
			return "man";
		}

	};

	public static void main(String[] args) {
		System.out.println(new Man().pp.getName());
		//System.out.println(new Man().man.ggg());
	}

	/*private Man man = new Man() {
		public String ggg() {
			return "hhhh";
		}
	};
	public String ggg(){
		return "xia";
	}*/
	public static  void t1(){
		System.out.println("t1");
	}
}
